package com.owen.pojo;

import java.io.Serializable;

/**
 * 商品分类对应实体类
 */
public class CommodityFenlei implements Serializable {

    // 商品分类对应表ID
    private Long id;

    // 商品id
    private Long commodityId;

    // 分类id
    private Long fenleiId;

    public CommodityFenlei() {
    }

    public CommodityFenlei(Long id, Long commodityId, Long fenleiId) {
        this.id = id;
        this.commodityId = commodityId;
        this.fenleiId = fenleiId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Long commodityId) {
        this.commodityId = commodityId;
    }

    public Long getFenleiId() {
        return fenleiId;
    }

    public void setFenleiId(Long fenleiId) {
        this.fenleiId = fenleiId;
    }

    @Override
    public String toString() {
        return "CommodityFenlei{" +
                "id=" + id +
                ", commodityId=" + commodityId +
                ", fenleiId=" + fenleiId +
                '}';
    }
}